import axios from "axios"
export const getLoadListAction=()=>{
    return (dispatch)=>{
        axios.get("/loadList").then((res)=>{
            dispatch({
                type:"GET_LOAD_LIST",
                payload:res.data
            })
        })
    }
}
export const loadListAction=()=>{
    return {
        type:"LOAD_LIST"
    }
}